﻿using System.Collections.Generic;
using Earthwatchers.Models;

namespace Earthwatchers.Data
{
    public interface ILandRepository
    {
        void ConfirmLand(int id, Earthwatcher earthwatcher);
        void DeconfirmLand(int id, Earthwatcher earthwatcher);
        void DeleteConfirmer(int id, Earthwatcher earthwatcher);
        void DeleteDeconfirmer(int id, Earthwatcher earthwatcher);
        List<Land> GetAll();
        IEnumerable<int> GetConfirmers(int id);
        IEnumerable<int> GetDeconfirmers(int id);
        Land GetLand(int id);
        List<Land> GetLandByIntersect(string wkt);
        List<Land> GetLandByStatus(LandStatus status);
        Land PostLand(Land land);
        void UnassignLand(int id);
        void UpdateLandStatus(int id, LandStatus landStatus);
        Land GetLandByEarthwatcherName(string earthwatcherName);
        void UpdateLandEarthwatcherguid(string geohex, string earthwatcherguid);

    }
}
